#!/bin/bash

set -e

#DEBHELPER#

case "$1" in
	configure)

        # initial setup
        /usr/share/zentyal/initial-setup --no-restart mailfilter $2

        # restart module
        zs mailfilter restart || true

        dpkg-trigger --no-await zentyal-core
esac

exit 0
